<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxConstraintInfo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structPxConstraintInfo.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structPxConstraintInfo-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxConstraintInfo Struct Reference<div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Descriptor for a broken constraint.  
 <a href="structPxConstraintInfo.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxSimulationEventCallback_8h_source.html">PxSimulationEventCallback.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxConstraintInfo:</div>
<div class="dyncontent">
<div class="center"><img src="structPxConstraintInfo__coll__graph.png" border="0" usemap="#PxConstraintInfo_coll__map" alt="Collaboration graph"/></div>
<map name="PxConstraintInfo_coll__map" id="PxConstraintInfo_coll__map">
<area shape="rect" id="node2" href="classPxConstraint.html" title="A plugin class for implementing constraints. " alt="" coords="33,185,131,212"/>
<area shape="rect" id="node3" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="48,109,116,136"/>
<area shape="rect" id="node4" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,5,159,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a073f7587ffb496c4bdc470eb34032fd2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#a073f7587ffb496c4bdc470eb34032fd2">PxConstraintInfo</a> ()</td></tr>
<tr class="separator:a073f7587ffb496c4bdc470eb34032fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7bd411f2d3571030b8da6eec0daf6ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#aa7bd411f2d3571030b8da6eec0daf6ea">PxConstraintInfo</a> (<a class="el" href="classPxConstraint.html">PxConstraint</a> *c, void *extRef, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> t)</td></tr>
<tr class="separator:aa7bd411f2d3571030b8da6eec0daf6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a38e7eda9e38f5318b9d4dc27fa46316b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxConstraint.html">PxConstraint</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#a38e7eda9e38f5318b9d4dc27fa46316b">constraint</a></td></tr>
<tr class="memdesc:a38e7eda9e38f5318b9d4dc27fa46316b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The broken constraint.  <a href="#a38e7eda9e38f5318b9d4dc27fa46316b">More...</a><br /></td></tr>
<tr class="separator:a38e7eda9e38f5318b9d4dc27fa46316b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64fa7758b3a66b003097a9609aa67c3c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#a64fa7758b3a66b003097a9609aa67c3c">externalReference</a></td></tr>
<tr class="memdesc:a64fa7758b3a66b003097a9609aa67c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The external object which owns the constraint (see <a class="el" href="classPxConstraintConnector.html#a1210c94b5fa0513b2cd99ceedccd23ee" title="Fetches external data for a constraint. ">PxConstraintConnector::getExternalReference()</a>)  <a href="#a64fa7758b3a66b003097a9609aa67c3c">More...</a><br /></td></tr>
<tr class="separator:a64fa7758b3a66b003097a9609aa67c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324fadc19904fff635aa9d16da7a21f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#a324fadc19904fff635aa9d16da7a21f9">type</a></td></tr>
<tr class="memdesc:a324fadc19904fff635aa9d16da7a21f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type.  <a href="#a324fadc19904fff635aa9d16da7a21f9">More...</a><br /></td></tr>
<tr class="separator:a324fadc19904fff635aa9d16da7a21f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Descriptor for a broken constraint. </p>
<p>An array of these structs gets passed to the <a class="el" href="classPxSimulationEventCallback.html#a67c6553ee9090481ece8b041502eb948" title="This is called when a breakable constraint breaks. ">PxSimulationEventCallback::onConstraintBreak()</a> report.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConstraint.html" title="A plugin class for implementing constraints. ">PxConstraint</a> <a class="el" href="classPxSimulationEventCallback.html#a67c6553ee9090481ece8b041502eb948" title="This is called when a breakable constraint breaks. ">PxSimulationEventCallback.onConstraintBreak()</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a073f7587ffb496c4bdc470eb34032fd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a073f7587ffb496c4bdc470eb34032fd2">&#9670;&nbsp;</a></span>PxConstraintInfo() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConstraintInfo::PxConstraintInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa7bd411f2d3571030b8da6eec0daf6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7bd411f2d3571030b8da6eec0daf6ea">&#9670;&nbsp;</a></span>PxConstraintInfo() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConstraintInfo::PxConstraintInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxConstraint.html">PxConstraint</a> *&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>extRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a38e7eda9e38f5318b9d4dc27fa46316b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38e7eda9e38f5318b9d4dc27fa46316b">&#9670;&nbsp;</a></span>constraint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxConstraint.html">PxConstraint</a>* PxConstraintInfo::constraint</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The broken constraint. </p>

</div>
</div>
<a id="a64fa7758b3a66b003097a9609aa67c3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64fa7758b3a66b003097a9609aa67c3c">&#9670;&nbsp;</a></span>externalReference</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* PxConstraintInfo::externalReference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The external object which owns the constraint (see <a class="el" href="classPxConstraintConnector.html#a1210c94b5fa0513b2cd99ceedccd23ee" title="Fetches external data for a constraint. ">PxConstraintConnector::getExternalReference()</a>) </p>

</div>
</div>
<a id="a324fadc19904fff635aa9d16da7a21f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a324fadc19904fff635aa9d16da7a21f9">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxConstraintInfo::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxSimulationEventCallback_8h_source.html">PxSimulationEventCallback.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structPxConstraintInfo.html">PxConstraintInfo</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
